import _fetch from "./respon";
function getsubject(params) {
  return _fetch({
    url: "/subject/list",
    params,
  });
}
function setsubjectStatus(data) {
  return _fetch({
    url: "/subject/status",
    method: "post",
    data,
  });
}
function addsubjectList(data) {
  return _fetch({
    url: "/subject/add",
    method: "post",
    data,
  });
}
function editsubject(data) {
  return _fetch({
    url: "/subject/edit",
    method: "post",
    data,
  });
}
function removesubject(data) {
  return _fetch({
    url: "/subject/remove",
    method: "post",
    data,
  });
}
export {
  getsubject,
  setsubjectStatus,
  addsubjectList,
  editsubject,
  removesubject,
};
